<juci-layout-with-sidebar>
	<div ng-controller="icwmpConfigPage">
		<h2 translate>TR-069</h2>
		<juci-config-section title="{{'ACS Settings'|translate}}">
			<juci-config-lines>
				<juci-config-line title="{{ 'ACS User Name' | translate }}">
					<input type="text" class="form-control" ng-model="acs.userid.value">
				</juci-config-line>
				<juci-config-line title="{{ 'ACS Password' | translate }}">
					<input type="text" class="form-control" ng-model="acs.passwd.value">
				</juci-config-line>
				<juci-config-line title="{{ 'URL' | translate }}">
					<input type="text" class="form-control" ng-model="acs.url.value">
				</juci-config-line>
				<juci-config-line title="{{ 'Periodic Inform Enable' | translate }}">
					<switch class="green" ng-model="acs.periodic_inform_enable.value">
				</juci-config-line>
				<juci-config-line title="{{ 'Periodic Inform Interval' | translate }}">
					<input type="number" min="0" step="100" class="form-control" ng-model="acs.periodic_inform_interval.value">
				</juci-config-line>
				<juci-config-line title="{{ 'Periodic Inform Time' | translate }}">
					<input type="number" min="0" class="form-control" ng-model="acs.periodic_inform_time.value">
				</juci-config-line>
				<juci-config-line title="{{ 'DHCP Discovery' | translate }}">
					<juci-select ng-items="bool" ng-model="acs.dhcp_discovery.value"></juci-select>
				</juci-config-line>
			</juci-config-lines>				
		</juci-config-section>
		<juci-config-section title="{{'CPE Settings'|translate}}">
			<juci-config-lines>
				<juci-config-line title="{{ 'WAN Interface' | translate }}">
					<juci-select ng-items="wan_interfaces" ng-model="cpe.default_wan_interface.value"></juci-select>
				</juci-config-line>
				<juci-config-line title="{{ 'Connection Request User Name' | translate }}">
					<input type="text" class="form-control" ng-model="cpe.userid.value">
				</juci-config-line>
				<juci-config-line title="{{ 'Connection Request Password' | translate }}">
					<input type="text" class="form-control" ng-model="cpe.passwd.value">
				</juci-config-line>
				<juci-config-line title="{{ 'Port' | translate }}">
					<input type="number" min="0" max="65535" class="form-control" ng-model="cpe.port.value">
				</juci-config-line>
				<juci-config-line title="{{ 'Log Severity Level' | translate }}">
					<juci-select ng-items="severity_levels" ng-model="cpe.log_severity.value"></juci-select>
				</juci-config-line>
				<juci-config-line title="{{ 'Log to console' | translate }}">
					<juci-select ng-items="bool" ng-model="cpe.log_to_console.value"></juci-select>
				</juci-config-line>
				<juci-config-line title="{{ 'Log to file' | translate }}">
					<juci-select ng-items="bool" ng-model="cpe.log_to_file.value"></juci-select>
				</juci-config-line>
				<juci-config-line title="{{ 'Log file max size' | translate }}">
					<input type="number" min="0" step="1600" class="form-control" ng-model="cpe.log_max_size.value">
				</juci-config-line>
				<juci-config-line title="{{ 'Provisioning Code' | translate }}">
					<input type="text" class="form-control" ng-model="cpe.provisioning_code.value">
				</juci-config-line>
			</juci-config-lines>
		</juci-config-section>
	</div>
</juci-layout-with-sidebar>
